#include "canlendar.h"
#include "ui_canlendar.h"

#include <QLocale>
#include <QPainter>
#include <QTextCharFormat>
#include <QProxyStyle>
#include <QTableView>
#include <QLayout>
#include <QPushButton>
#include <QLabel>

canlendar::canlendar(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::canlendar)
{
    ui->setupUi(this);

        QCustomStyle(QWidget *parent){
            setParent(parent);
        };

    private:
        void drawPrimitive(PrimitiveElement element, const QStyleOption *option,
            QPainter *painter, const QWidget *widget) const
        {
            if (element == PE_FrameFocusRect)
            {
                return;
            }
            QProxyStyle::drawPrimitive(element, option, painter, widget);
        }
}

canlendar::~canlendar()
{
    delete ui;
}
